package com.chinasofti.manager.domain;

public class Demo05 {
    public static void main(String[] args) {
        String s1 = new String("123");
        String s2 = new String("456");
//        String s1 = "123";
//        String s2 = "456";
//        if(s1==s2){
//            System.out.println("ok");
//        }else {
//            System.out.println("ok1");
//        }
        System.out.println(s1.hashCode());
        System.out.println(s2.hashCode());
    }
}
